package Task0;

public class Student1 {

        private String name;
        private String age;

        public Student1() {
        }

        public Student1(String name, String age) {
            this.name = name;
            this.age = age;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getAge() {
            return age;
        }

        public void setAge(String age) {
            this.age = age;
        }
        public void getStudent1(){
            System.out.println("学习");
        }
    }

